/*
 * @Author: your name
 * @Date: 2021-01-21 22:29:29
 * @LastEditTime: 2021-01-26 00:18:48
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \ad-api\service\pageService.js
 */
const {getPageListDao , addPageDao , delPageDao} = require('../dao')
module.exports = {
  // 获取页面列表
  getPageListService: async (page_id)=>{
    return await getPageListDao(page_id)
  },
  //添加页面
  addPageService: async (pageInfo)=>{
    return await addPageDao(pageInfo)
  },
  //删除页面
  delPageService:async ({page_id})=>{
    return await delPageDao(page_id)
  }
}
